package com.hibase.core.interfacetask.constant;

/**
 * 任务处理状态
 */
public enum TaskDealStatus {

    TASK_DEAL_READY("READY", "准备"),
    TASK_DEAL_OPEN("OPEN", "打开"),
    TASK_DEAL_SUCCESS("SUCCESS", "成功"),
    TASK_DEAL_FAIL("FAIL", "失败"),
    TASK_DEAL_REMOVE("REMOVE", "删除"),
    TASK_DEAL_IGNORE("IGNORE", "忽略"),


    KAFKA_TOPIC_SEND_NORMAL("PUSH_TRACK_NORMAL","发送正常管道"),
    KAFKA_TOPIC_SEND_COMPENSATION("SEND_COMPENSATION","发送补偿管道"),
    KAFKA_TOPIC_RESERVE_NORMAL("RESERVE_NORMAL","接收正常管道"),
    KAFKA_TOPIC_RESERVE_COMPENSATION("RESERVE_COMPENSATION","接收补偿管道");


    private String value;
    private String name;

    TaskDealStatus(String name, String value){

        this.name = name;
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
